home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 April: Mac OS SDK / Dev.CD Apr 98 SDK2.toast / Development Kits (Disc 2) / ScriptX / Code Samples / untested / tcpip / ifish / readme.txt < prev    next >
Encoding:
Text File  |  1996-05-21  |  1.1 KB  |  34 lines  |  [TEXT/ttxt]

  1. Using the Internet Fish
  2. ------------------------
  3.  
  4. This demo works as follows:
  5.  
  6. * Each invocation listens for connections on a port that is specified at
  7. startup. It defaults to 2000.
  8.  
  9. * The fish program starts up in standalone mode - listening but not connected
  10. to anyone else
  11.  
  12. * The connect button allows you to specify a host, and port to connect to.
  13.  
  14. * You can connect to multiple other fish programs.
  15.  
  16. * When two fish programs connect their exchange information about the other
  17. fish programs [host,port] which they know about. They then attempt to connect
  18. to all of these other programs. Each fish program ends up connected to
  19. every other fish.
  20.  
  21. * Disconnect will close all connections and reverts the fish to standalone
  22. mode.
  23.  
  24. * Quit disconnects and exits the title.
  25.  
  26. Internet Fish uses the following network-related code that could potentially be
  27. reused in other titles:
  28.  
  29. * mqueue.sx implements a message queue class which enables threads to use
  30. TCP/IP without blocking
  31.  
  32. * connectm.sx implements a connection manager class which is responsible for
  33. listening and connecting together multiple applications.
  34.